home *** CD-ROM | disk | FTP | other *** search
- property pspeakerSpr,paudioList
-
-
- on exitframe me
- if the spriteNum of me <0 then --only if it's a frame script
- animateSpeaker pspeakerSpr,value(paudioList)
- end if
- end
-
-
- on mouseUp me
- if the spriteNum of me >0 then --only if it's a sprite script
- animateSpeaker pspeakerSpr,value(paudioList)
- end if
- end
-
-
-
- on getPropertyDescriptionList
- set description=[:]
- addProp description,#pspeakerSpr,[#default:117,#format:#integer,#comment:"Enter speaker's sprite:"]
- addProp description,#paudioList,[#default:"",#format:#string,#comment:"Enter audio list:"]
- return description
- end